{* 个人信息页面 *}
{include file="../header.html" title="我的个人信息"}

	<div id="main">
		<div id="main_title">您当前处于 
			<span class="weightFont">个人信息管理</span> >> 
			<span class="softFont">我的个人信息</span>
		</div>
		<div id="main_body">
			<center>
				<form id="editForm">
					<div id="formTitle">
						我的个人信息
					</div>
					<table cellpadding="5" cellspacing="5">
						<tr>
							<th>账号</th>
							<td>{$info['username']}</td>
						</tr>
						<tr>
							<th>真实姓名</th>
							<td>
								<input type="text" value="{$info['realname']}" id="realName" />
							</td>
						</tr>
						<tr>
							<th>性别</th>
							<td>
								<select id="sex">
									{foreach $sex as $k=>$v}
									<option value="{$k}" {if $k eq $info['sex']} selected{/if}>{$v}
									</option>
									{/foreach}
								</select>
							</td>
						</tr>
						<tr>
							<th>电话</th>
							<td>
								<input type="text" value="{$info['phone']}" id="phone" />
							</td>
						</tr>
						<tr>
							<th>电子邮箱</th>
							<td>
								<input type="text" value="{$info['email']}" id="email" />
							</td>
						</tr>
					</table>
					<input type="hidden" value="{$info['uid']}" id="uid" />
					<div id="saveBtn">保存</div>
				</form>
			</center>
		</div>
	</div>

{include file="../footer.html"}